package prime;
public class Prime {
    private int num;
    public int getNum() {
        return num;
    }
    public void setNum(int num) {
        this.num = num;
    }
    public boolean isPrime() {
        int i = 2;
        for(;i<num;i++) {
            if(num % i == 0) break;
        }
        return num == i;
    }
}
class Dad {
    private boolean tmp;

    public boolean isTmp() {
        return tmp;
    }

    public void setTmp(boolean tmp) {
        this.tmp = tmp;
    }
}
class Son extends Dad {

}
